#!/usr/bin/env node



const cp=require('child_process');



let cat=cp.spawn('cat',['a.text']);

let sort=cp.spawn('sort');

let uniq=cp.spawn('sort');


cat.stdout.pipe(sort.stdin);
sort.stdout.pipe(uniq.stdin);

uniq.stdout.pipe(process.stdout);



